import { Component, Vue } from 'vue-property-decorator'
import InfoBlock from '@profile/util/info_block/Index.vue';
import axios from '@axios/user';

@Component({
    components: {
        InfoBlock
    }
})
export class AccountPassword extends Vue {

    /** 密码 */
    private passwd: string = '';

    /** 更新密码 */
    private updatePassword(): void {
        axios.update.password(this.$store.getters.me().id, this.passwd);
    }
    
}